package homework;

public class Homework2 {
	public static void main(String[] args) {
		String str = "aAbBcC";
		String str2 = "";
		char temp = '\0';
		for (int i = 0; i < str.length(); i++) {
			if(str.charAt(i) < 97){
				temp = (char)(str.charAt(i)+32);
				str2 += temp;
			}else{
				temp = (char)(str.charAt(i)-32);
				str2 += temp;
			}
		}
		System.out.println(str2);
	}
}
